projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533a130
)
gdkwindow-x11: Fix compile warning
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Fri, 31 Jan 2014 19:33:27 +0000
(14:33 -0500)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Fri, 31 Jan 2014 19:34:13 +0000
(14:34 -0500)
It doesn't actually matter, since we don't pass any real attributes
anyway, but this should be the correct type...
gdk/x11/gdkwindow-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkwindow-x11.c
b/gdk/x11/gdkwindow-x11.c
index c8f04a6fa98c3c1d751f4631745f575b49da6647..3f213aa11c61b0e2c1585b49807262f10dab6596 100644
(file)
--- a/
gdk/x11/gdkwindow-x11.c
+++ b/
gdk/x11/gdkwindow-x11.c
@@
-820,7
+820,7
@@
create_focus_window (GdkDisplay *display,
GdkEventMask event_mask;
Display *xdisplay;
Window focus_window;
- X
WindowAttributes xwa
;
+ X
SetWindowAttributes attrs
;
xdisplay = GDK_DISPLAY_XDISPLAY (display);
display_x11 = GDK_X11_DISPLAY (display);
@@
-830,7
+830,7
@@
create_focus_window (GdkDisplay *display,
0, /* depth */
InputOnly,
CopyFromParent,
- 0, &
xwa
);
+ 0, &
attrs
);
event_mask = (GDK_KEY_PRESS_MASK |
GDK_KEY_RELEASE_MASK |